<!--手机端首页-->
<!DOCTYPE html >
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <meta name="format-detection" content="telphone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <link rel="stylesheet" href="__TEMPLATE__/mobile/index/css/global.css" type="text/css">
    <link rel="stylesheet" href="__TEMPLATE__/mobile/index/css/index.css" type="text/css">
	<script src="__TEMPLATE__/sysme/js/jquery-1.9.1.min.js"></script>
	<script src="__TEMPLATE__/index/js/scroll.js" type="text/javascript"></script>
	<script type="text/javascript" src="__TEMPLATE__/mobile/index/js/clipboard.min.js"></script>
	<!-- UC强制全屏 -->  
 <meta name="full-screen" content="yes">  
 <!-- QQ强制全屏 -->  
 <meta name="x5-fullscreen" content="true">  
 <!-- UC应用模式-->  
 <meta name="browsermode" content="application">  
 <!-- QQ应用模式 -->  
 <meta name="x5-page-mode" content="app"> 
	<script type="text/javascript">
    $(function(){
    	$('.news-info').myScroll({
    		speed: 40, //数值越大，速度越慢
    		rowHeight: 26 //li的高度
    	});
    });
    </script>
	<script type="text/javascript">
	
	//轮播切换
		var LunBoCount=0;
		
		function qiehuan_img(){
			
			$('#img_qh_1').hide();
			
			$('#img_qh_2').hide();
			
			$('#img_qh_3').hide();
			
			$('#img_qh_4').hide();
			
			
			if(LunBoCount>3){LunBoCount=0;}
			
			LunBoCount=LunBoCount+1;
			
			var anniu_id="img_qh_"+LunBoCount;
			
			
			$('#'+anniu_id).show();
			
			
			setTimeout("qiehuan_img()",3000);
			
			
		
		}
		
		setTimeout("qiehuan_img()",1000);
	</script>
    <style>
        body,#wrapper_1{-webkit-overflow-scrolling:touch;overflow-scrolling:touch;}/*解决苹果滚动条卡顿的问题*/
        #wrapper_1{overflow-y:visible!important;}
        .lott-menu{position:fixed;top:44px;left:0;margin-top:0!important;}
   
        .gray {
            -webkit-filter: grayscale(100%);
            -moz-filter: grayscale(100%);
            -ms-filter: grayscale(100%);
            -o-filter: grayscale(100%);
            filter: grayscale(100%);
            filter: gray;
        }
        

    #tishi{width:200px;height:150px;display:none;background:#fff;position:absolute;top:200px;left:50%;margin-left:-100px;border-radius: 5px;text-align: center;font-size:14px;z-index: 1111;}
    #tishi_ts{width:60px;height:30px;position:absolute;bottom:10px;left:50%;margin-left:-25px;background:#e7aea6;line-height:30px;border-radius: 4px;color:#fff;z-index: 22222;}
    #tishi p{width:160px;height:70px;position:absolute;top:0;right:0;left:0;bottom:0;margin:auto;text-align: center;color:#f00;font-weight:bold;z-index: 111111;padding:0 10px;}
 



.zdc{width: 100%;height: 100%;background: #000000;opacity: 0.6;z-index: 111111;position: fixed;top: 0;display: none;}
					.zxkf{width: 80%;position: fixed;top: calc(50% - 50px);left: calc((100% - 80%)/2);background: #FFFFFF;display: none;z-index: 11111111111;}
					.zxkf p{height: 70px;line-height: 70px;font-size: 12px;color: #33333;border-bottom: 1px solid #CCCCCC;}
					.zxkf>span{height: 28px;line-height: 28px;font-size: 16px;color: #0000FF;}
					 #tsk{width:200px;height:75px;background:#ccc;position:absolute;top:300px;left:50%;margin-left:-100px;display:none;line-height:75px;border-radius: 5px;text-align: center;font-size:14px;}
					 .box_1 span{font-size:15px;}

</style>
        
     
    </style>
    <title>{$logo.title}-首页</title>
</head>

<body>
	

<div id="wrapper_1" class="scorllmain-content nobottom_bar" style="background-color: #fff;">

        <div class="hot-new-tit border-none"><a class="hot-tit-text" href="javascript:;" style="margin-left: 3px;letter-spacing: 2px;display: block;width: 92px;height: 30px;line-height: 30px;background-color: #e53120;font-size: 18px;text-align: center;color: white;">最新中奖榜</a>
		
        <div id="win_list" direction="up">
            <div class="news-info" style="position: relative; max-height: 120px; overflow: hidden; height: 120px;">
                <ul style="position: absolute; width: 100%; padding-left: 1%; padding-right: 2%; box-sizing: border-box; top: 0px;">
                {foreach $phblist as $pv}
                 <li>
                 <div class='news-left'><span class='pol-icon'></span>{$pv.usern}****</div>
                 <div class='news-center'>{$pv.cp_name}</div>
                 <div class='news-right fr c-red'>喜中{$pv.zhongjje}元</div>
                 </li>
                {/foreach}
				</ul>
            </div>
        </div>
    </div>
</div>

<script>
	var shiwan = true;
   $('#sw').click(function(){
	   if(shiwan == false) return;
		shiwan = false;
   		$.ajax({
                type: "GET",
         url: "{:url('pocessing/shiwan')}",
         success: function (data) {
                 if(data=='sw') {
                 	$('#ji').css('display','block')
			    	$('#ti_nr').css('display','block')
			    	$('#ti_nr').html('申请成功')
			    	setTimeout(function(){
			    		$('#ji').css('display','none')
			    	    $('#ti_nr').css('display','none')
			    	    window.location.href = "/mobile/index/mhome";
                        shiwan = true;
			    	
			     },2000)
                 
                }else{
                	$('#ji').css('display','block')
			    	$('#ti_nr').css('display','block')
			    	$('#ti_nr').html('系统未开启试玩功能')
			    	setTimeout(function(){
			    		$('#ji').css('display','none')
			    	    $('#ti_nr').css('display','none')
                        shiwan = true;
			    	
			     },2000)
               	 
                }
       }
     })
   })
</script>


	<script type="text/javascript">

	$("#zxkf").click(function(){
		$(".zdc").css("display","block")
		$(".zxkf").css("display","block")
	})

	</script>
	
<script>
    var clipboard = new ClipboardJS('.btn');

    clipboard.on('success', function(e) {
        //console.log(e);
    });

    clipboard.on('error', function(e) {
        //console.log(e);
    });



    
    $('.fuzhibtn').click(function(){
    	
    	$(".zdc").css("display","none");
   setTimeout(function () {
     $("#qqkf2").css("display","none");
     $("#wxkf2").css("display","none");
}, 10);

 $('#tsk').css('display','block').html('已复制好，可贴粘。')

setTimeout(function () {
     $("#tsk").css("display","none");
}, 1000);

    })

   </script>


